package com.yonyou.brigade.basic_init.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yonyou.brigade.basic_init.model.Developer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author kangfw5@yonyou.com
 * @since 2018-09-19
 */
@Repository
public interface DeveloperMapper extends BaseMapper<Developer> {

    /**
     * 查询对应类型人员的邮箱
     *
     * @param type 类型 KF:开发 YY:运营 YW:运维 CP:产品 CS:测试 JL:经理
     * @return 邮箱列表
     */
    List<String> selectMailByType(@Param("type") String type);

}
